<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.prime.com.tr/ui"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html">

    <body>

        <ui:composition template="../templates/default3.xhtml">         

            <ui:define name="content">
                <h:form id="viewEmployee">
                    <p:messages/>

                    <p:panel header="Employee information" id="viewEmployee0" binding="#{employeeManagerBean.loadUserAC}">
                        <table class="panel">
                            <tr>
                                <td width ="180">Employee:</td>
                                <td width="550" valign="top"> <b><h:outputText  id="userId" value="#{employeeManagerBean.userId}">   </h:outputText> </b>                                   
                                </td>
                            </tr>
                            <tr>
                                <td>Access role assigned:</td>
                                <td width="550" valign="top"> 
                                    <h:outputText id="accessrole" value="#{employeeManagerBean.asroles}" > 
                                    </h:outputText>
                                </td>
                            </tr>    
                            <tr>
                                <td>Access control assigned:</td>
                                <td width="550"> 
                                    <h:outputText styleClass="wrap" id="accesscontrol" value="#{employeeManagerBean.ascontrol}" > 
                                    </h:outputText>
                                </td>
                            </tr>      


                            <tr>
                                <td colspan="2" class="btn"><hr/><p:commandButton id="btnDone" value="Done" actionListener="#{employeeManagerBean.back}" ajax="true"  /><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/></td>
                            </tr>
                        </table>
                    </p:panel>


                </h:form>
            </ui:define>        

        </ui:composition>

    </body>

</html>
